import pytest
from pytest_html import extras
import logging

logger = logging.getLogger(__name__)


# @pytest.fixture()
# def test_extra(extra):
#     extra.append(extras.text("some string111111111111"))


class TestCase:

    def test_case01(self):
        print("测试用例case01")
        logger.debug("测试用例case01--log")
        logger.info("测试用例case01--log")
        logger.error("测试用例case01--log")
        assert 1 == 1

    def test_case02(self):
        logger.info("测试用例case02--log")
        print("测试用例case02")

    @pytest.mark.smoke
    def test_case03(self):
        logger.info("测试用例case03--log")
        print("测试用例case03")
